/**
 * MineAdmin is committed to providing solutions for quickly building web applications
 * Please view the LICENSE file that was distributed with this source code,
 * For the full copyright and license information.
 * Thank you very much for using MineAdmin.
 *
 * @Author X.Mo<root@imoi.cn>
 * @Link   https://github.com/mineadmin
 */

import type { MaSearchItem } from '@mineadmin/search'
import MaDictSelect from '@/components/ma-dict-picker/ma-dict-select.vue'

export default function getSearchItems(t: any): MaSearchItem[] {
    return [
    { label: '1语音播报  2摄像头爆红', prop: 'type', render: 'input', renderProps: { placeholder: t('form.pleaseInput', { msg: '1语音播报  2摄像头爆红'}) } },
    { label: '上报的ip', prop: 'user_ip', render: 'input', renderProps: { placeholder: t('form.pleaseInput', { msg: '上报的ip'}) } },
    { label: '播放用户', prop: 'user_id', render: () => MaDictSelect, renderProps: { multiple: false } },
  ]
}
